package com.haiyou.dc.message.service;


import org.jivesoftware.openfire.session.Session;
import org.xmpp.packet.Packet;

/**
 * @author chenzeke
 * @date 2018/12/15 09:47
 */
public interface PacketService {

    /**
     * xmpp协议包处理
     *
     * @param packet  消息包
     * @param session 会话通道
     */
    void handler(Packet packet, Session session);
}
